package com.stx.dao;

import com.stx.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Suntingxing
 * @date 2021/11/3 12:04
 */
public interface StudentDao {
    Student findStudentByName(String stuname);

    List<Student> fintStudentByNmaeOrMajor(@Param("stuname") String stuname, @Param("major") String major);

    List<Student> findStudent(@Param("stuname") String stuname, @Param("major") String major);
}
